<!--
 * @Author: your name
 * @Date: 2021-12-27 16:53:23
 * @LastEditTime: 2021-12-27 17:57:07
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \vue\vue-douban-pc\src\views\Forget.vue
-->
<template>
    <div class="main-box">
        <div class="register-box box-bg">
            <h1>验证信息</h1>
            <div class="box">
                <label for="name">用户名 *</label>
                <el-input
                    v-model="username"
                    prefix-icon="el-icon-user-solid"
                    id="name"
                    placeholder="请输入用户名"
                    clearable
                ></el-input>
            </div>
            <div class="box">
                <label for="phone">手机号 *</label>
                <el-input
                    v-model="phone"
                    prefix-icon="el-icon-phone"
                    id="phone"
                    placeholder="请输入手机号"
                    clearable
                ></el-input>
            </div>
            <div class="box">
                <label for="email">邮箱 *</label>
                <el-input
                    v-model="email"
                    prefix-icon="el-icon-message"
                    id="email"
                    placeholder="请输入邮箱"
                    clearable
                ></el-input>
            </div>  
            <div class="btn-box">
                <el-button type="primary">验证信息</el-button>
            </div>
        </div>
    </div>
</template>

<script>
export default {
    name: 'VueRegister',

    data() {
        return {
            username: "",
            phone: "",
            email: "",
        };
    },

    mounted() {

    },

    methods: {

    },
};
</script>

<style lang="scss" scoped>
.main-box {
    position: absolute;
    top: 50%;
    left: 300px;
    transform: translate(-50%, -50%);
    .register-box {
        padding: 10px;
        width: 400px;
        h1 {
            font-size: 25px;
            text-align: center;
            margin: 20px 0;
            color: white;
        }
        label {
            color: white;
        }
        .box {
            margin: 0 auto;
            width: 300px;
        }
        .forget {
            margin: 0 auto;
            width: 300px;
            text-align: right;
        }
        .btn-box {
            width: 100px;
            margin: 10px auto;
            .el-button {
                width: 100px;
            }
        }
        .register {
            text-align: center;
        }
    }
    .box-bg {
        background-color: rgba(255, 255, 255, 0.2);
        border-radius: 10px;
    }
}
</style>